package com.wave.system.domain.bo;

import com.wave.common.core.domain.BaseEntity;
import com.wave.common.core.validate.AddGroup;
import com.wave.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 设备设置业务对象 sys_device_setting
 *
 * @author wave
 * @date 2024-11-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysDeviceSettingBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * MCS系统PLC
     */
    @NotBlank(message = "MCS系统PLC不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mcsPlcIp;

    /**
     * 工装板线体二维码阅读器1
     */
    @NotBlank(message = "工装板线体二维码阅读器1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String toolBoardIp;

    /**
     * 工装板线体二维码阅读器2
     */
    @NotBlank(message = "工装板线体二维码阅读器2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String toolBoardIp2;

    /**
     * 机械臂1的二维码阅读器
     */
    @NotBlank(message = "机械臂1的二维码阅读器不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mechanicalArm1Ip;

    /**
     * 机械臂2的二维码阅读器
     */
    @NotBlank(message = "机械臂2的二维码阅读器不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mechanicalArm2Ip;

    /**
     * 包装线1RFID读写器1
     */
    @NotBlank(message = "包装线1RFID读写器1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine1Ip;

    /**
     * 包装线1RFID读写器2
     */
    @NotBlank(message = "包装线1RFID读写器2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine1Ip2;

    /**
     * 包装线2RFID读写器1
     */
    @NotBlank(message = "包装线2RFID读写器1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine2Ip;

    /**
     * 包装线2RFID读写器2
     */
    @NotBlank(message = "包装线2RFID读写器2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine2Ip2;

    /**
     * 包装线3RFID读写器1
     */
    @NotBlank(message = "包装线3RFID读写器1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine3Ip;

    /**
     * 包装线3RFID读写器2
     */
    @NotBlank(message = "包装线3RFID读写器2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine3Ip2;

    /**
     * 包装线4RFID读写器1
     */
    @NotBlank(message = "包装线4RFID读写器1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine4Ip;

    /**
     * 包装线4RFID读写器2
     */
    @NotBlank(message = "包装线4RFID读写器2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packagingLine4Ip2;

    /**
     * 拆盘机线体1的RFID读写器
     */
    @NotBlank(message = "拆盘机线体1的RFID读写器不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dismantle1Ip;

    /**
     * 拆盘机线体2的RFID读写器
     */
    @NotBlank(message = "拆盘机线体2的RFID读写器不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dismantle2Ip;


}
